package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.pojo.HospitalType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface HospitalTypeMapper {


    public HospitalType getHospitalTypeById(@Param(value = "id") Integer id);

    public List<HospitalType> getHospitalTypeListByMap(Map<String, Object> param);

    public Integer getHospitalTypeCountByMap(Map<String, Object> param);

    public Integer insertHospitalType(HospitalType hospitalType);

    public Integer updateHospitalType(HospitalType hospitalType);

    public Integer deleteHospitalTypeById(@Param(value = "id") Integer id);

    public Integer batchDeleteHospitalType(Map<String, List<String>> params);

}
